package com.yuexiang.melodyhub.authserver.dto.OAuthRefreshToken.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OAuthRefreshTokenResponse {

    private String token;

    private String type;

    private Long expires;

    public OAuthRefreshTokenResponse(String token, Long expires) {
        this.token = token;
        this.expires = expires;
        this.type = "Bearer";
    }
}
